package com.mycompany.app.hr.common;

import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;

/**
 * system static constans
 * @author Shawn.guo
 *
 */
public class Constants {

    public final static String MESSAGE_BUNDLE_KEY = "ApplicationResources";

    public final static int DEFAULT_PAGE_SIZE = 30;

    public final static String USER_IN_SESSION = "loginUser";

    public final static String LOCALE_IN_SESSION = "locale";

    /**
     * A Date for the future
     */
    public final static Date MAX_END_DATE = new GregorianCalendar(4712,
            Calendar.DECEMBER, 31).getTime();
    
    public final static Date MIN_START_DATE = new GregorianCalendar(1000,
            Calendar.JANUARY, 1).getTime();

    /**
     *  Status 
     */
    public final static String STATUS_ACTIVE = "Y";
    public final static String STATUS_INACTIVE = "N";
    
    public static final String SYSTEM = "system";
}